package com.wsd.smartcarwasher.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class OrderVO {
    private int id;
    private String mobile;
    private String option;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    public OrderVO(int id, String mobile, String option, Date time) {
        this.id = id;
        this.mobile = mobile;
        this.option = option;
        this.time = time;
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
